package com.tous.common.core.bean.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author mengwei
 * @description Oauth2Processor
 * @createDate 2025/7/30 8:35
 */

@Component
@ConfigurationProperties(prefix = "authorization.server")
@Data
public class Oauth2Processor {


    private String issuer;

    private String clientId;

    private String clientSecret;

    private List<String> scopes;

    private List<String> redirectUris;

    private List<String> grantTypes;

    private long accessTokenTtl;

    private long refreshTokenTtl;


}
